#include "pthread_impl.h"

/* Global definition. Needed in pthread_getconcurrency as well. */
int g_concurrency_level;


int pthread_setconcurrency(int val)
{
    if (val < 0) {
        return EINVAL;
    }

    g_concurrency_level = val;
    return 0;
}